//
//  M1User.h
//  NewMarryU
//
//  Created by apple on 2018/7/20.
//  Copyright © 2018年 Cedar. All rights reserved.
//

#import <Foundation/Foundation.h>
@class M1Status;
@class M1basic;
@class M1Auth;
@class M1Education;
@class M1Picture;
@class M1Image;
@class M1IdentityInfo;
@class M1CarInfo;
@class M1HoseInfoInfo;
@interface M1User : NSObject
@property (nonatomic ,copy) NSString *token;
@property (nonatomic ,strong) M1Status* status;
@property (nonatomic ,strong) M1basic* basic;

+(M1User *)user;
+(void)m1_uploadInfo:(void(^)(M1User *user))block;
@end

@interface M1Status : NSObject
@property (nonatomic ,assign) BOOL is_app_vest;
@property (nonatomic,assign)NSInteger info_status;
@property (nonatomic,assign)NSInteger member_fees_status;
@property (nonatomic,assign)NSInteger auth_fees_status;
@property (nonatomic,assign)NSInteger identity_status;
@property (nonatomic,copy)NSString  *avatar_verify_status;
@property (nonatomic,copy)NSString  *like_count;
@property (nonatomic,copy)NSString  *liked_count;
@property (nonatomic,assign)NSInteger integrity;
@property (nonatomic,assign)NSInteger member_day;
@property (nonatomic,assign)NSInteger is_lifelong;
@end

@interface M1basic : NSObject
@property (nonatomic ,copy) NSString *uid;
@property (nonatomic ,copy) NSString *annual_income;
@property (nonatomic ,copy) NSString *weight;
@property (nonatomic ,copy) NSString *high;

@property (nonatomic,copy)NSString  *name;
@property (nonatomic,copy)NSString  *age;
@property (nonatomic,copy)NSString  *constellation;
@property (nonatomic,copy)NSString  *wechat;
@property (nonatomic,copy)NSString  *birthday;
@property (nonatomic,copy)NSString  *native_place;
@property (nonatomic,copy)NSString  *job;
@property (nonatomic,copy)NSArray   *photos;
@property (nonatomic,copy)NSString  *abode;
@property (nonatomic,copy)NSString  *about_me;
@property (nonatomic,copy)NSString  *gender;
@property (nonatomic,copy)NSString  *create_time;
@property (nonatomic,copy)NSString  *to_uid;
@property (nonatomic,copy)NSString  *plan_marry_time;

@property (nonatomic,strong)M1Picture  *avatar;
@property (nonatomic,strong)M1HoseInfoInfo  *house_info;
@property (nonatomic,strong)M1CarInfo  *car_info;
@property (nonatomic,strong)M1Education  *education_info;
@property (nonatomic,strong)M1IdentityInfo  *identity_info;
@end

@interface M1IdentityInfo : NSObject
@property (nonatomic,copy)NSString  *card;
@property (nonatomic,copy)NSString  *name;
@property (nonatomic,copy)NSArray <M1Picture *>  *identity;
@property (nonatomic,strong)M1Auth  *identity_auth;
@end
@interface M1HoseInfoInfo : NSObject
@property (nonatomic,copy)NSString  *number;
@property (nonatomic,copy)NSString  *desc;
@property (nonatomic,copy)NSString  *mark;
@property (nonatomic,copy)NSString  *house_abode;
@property (nonatomic,copy)NSString  *title;
@property (nonatomic,copy)NSArray <M1Picture *>  *house;
@property (nonatomic,strong)M1Auth  *house_auth;
@end
@interface M1CarInfo : NSObject
@property (nonatomic,copy)NSString  *number;
@property (nonatomic,copy)NSString  *desc;
@property (nonatomic,copy)NSString  *car_brand;
@property (nonatomic,copy)NSString  *title;
@property (nonatomic,copy)NSString  *mark;
@property (nonatomic,copy)NSArray <M1Picture *>  *car;
@property (nonatomic,strong)M1Auth  *car_auth;
@end

@interface M1Education : NSObject
@property (nonatomic,copy)NSString  *school;
@property (nonatomic,copy)NSString  *abode;
@property (nonatomic,copy)NSString  *desc;
@property (nonatomic,copy)NSString  *education_code;
@property (nonatomic,copy)NSArray <M1Picture *>  *education;
@property (nonatomic,strong)M1Auth  *education_auth;
@end

@interface M1Auth : NSObject
@property (nonatomic,assign)NSInteger auth_status;
@property (nonatomic,copy)NSString  *auth_time;
@property (nonatomic,copy)NSString  *auth_desc;
@end

@interface M1Picture : NSObject
@property (nonatomic,strong)M1Image  *img;
@property (nonatomic,copy)NSString  *img_id;
@end

@interface M1Image : NSObject
@property (nonatomic,copy)NSString  *url;
@property (nonatomic,copy)NSString  *param;
@property (nonatomic,copy)NSString  *color;
@end
